<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@page import="csc.traning.wpsj.dao.User"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>User Profile Registration</title>
</head>
<body>
<jsp:useBean id="userRegister" type="csc.traning.wpsj.dao.User" scope="session"></jsp:useBean>
	<div style="width:800px;" align="center">
		<fieldset style="min-height:500px;">
			<legend style="color: graytext;font-weight: bold;">User Profiles Registration Confirm</legend>
			<br />
			<div align="center">
				<form action="user-register?action=add" method="post">
					<table>
						<tr>
							<td>First Name:</td>
							<td>
								<c:out value="${userRegister.firstName }"/>
							</td>		  		
						</tr>
						<tr>
							<td>Last Name:</td>
							<td>
								<c:out value="${userRegister.lastName }"/>
							</td>		  		
						</tr>
						<tr>
							<td>Username:</td>
							<td>
							<c:out value="${userRegister.userName }"/>
							</td>		  		
						</tr>
						<tr>
							<td>Email Address:</td>
							<td>
								<c:out value="${userRegister.emailAddress }"/>
							</td>		  		
						</tr>
						
						<tr>
							<td>Cellphone:</td>
							<td>
								<c:out value="${userRegister.cellphone }"/>
							</td>
						</tr>
						<tr align="center">
							<td colspan="2"> 
								<br /><br /><input type="submit" value="Confirm" /><input type ="button" value="Cancel" onclick="window.location = 'profile_register.jsp'" /><br/>
							</td>				
						</tr>
					  </table>
				</form>
			</div>
		</fieldset>
	</div>
</body>
</html>